# coding=utf-8

"""
    Created by Kalyter on 2017-12-15.
"""

import csv

from learning.scientifc.readers.reader import Reader


class CSVReader(Reader):
    """csv读取器"""

    def load(self):
        with open(self._fullname, encoding='utf-8') as file:
            reader = csv.reader(file)
            for row in reader:
                self._rows.append(row)
